package com.ttdc.service;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ttdc.pojo.Dishes;
import com.ttdc.pojo.DishesExample;
import com.ttdc.pojo.OrderList;

public interface DishesService {
	int countByExample(DishesExample example);

    int deleteByExample(DishesExample example);

    int deleteByPrimaryKey(Integer cpId);

    int insert(Dishes record);

    int insertSelective(Dishes record);

    List<Dishes> selectByExample(DishesExample example);

    Dishes selectByPrimaryKey(Integer cpId);

    int updateByExampleSelective(@Param("record") Dishes record, @Param("example") DishesExample example);

    int updateByExample(@Param("record") Dishes record, @Param("example") DishesExample example);

    int updateByPrimaryKeySelective(Dishes record);

    int updateByPrimaryKey(Dishes record);
    
    List<Dishes> selectByAll();
    
}
